Component({
    properties: {
        text: {
            type: String,
            value: "默认文本"
        },
        bgColor: {
            type: String,
            value: "#FFD72E"
        },
        fontColor: {
            type: String,
            value: "color333"
        },
        widthClass: {
            type: String,
            value: "width702"
        }
    },
    data: {},
    methods: {
        onTap: function() {
            this.triggerEvent("buttonTapping", {});
        }
    }
});